<template>
	<view class="all">
		<view class="imgView">
			<image class="images" src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/updateStatus/psc.png" mode=""></image>
		</view>
		<view class="title">六盘水市钟山区劳动力就业信息平台</view>
		<ul class="mainUl">
			<li class="ulLi1" @click="Workforce">
				<img src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/updateStatus/fx.png" alt="">
			    <text>劳动力分析</text>
			</li>

			<li class="ulLi2" @click="acquisition">
				<img src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/updateStatus/cj.png" alt="">
			    <text>数据采集</text>
			</li>
			<li class="ulLi3" @click="situation">
				<img src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/updateStatus/qk.png" alt="">
			    <text>数据更新情况</text>
			</li>
			<li class="ulLi4" @click="dataMigration">
				<img src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/updateStatus/qy.png" alt="">
			    <text>数据迁移</text>
			</li>

		</ul>

		</view>
</template>

<script>
	export default{
		data(){
			return{

			}
		},
		onShow: function() {
		    wx.hideHomeButton();  //隐藏home/返回主页按钮
		  },
		methods:{
			Workforce(){
				console.log("劳动力分析");
				wx.reLaunch({
				    url: "/pages/humanSociety/workforceAnalytics",
				});

			},
			acquisition(){
				var userInfo = wx.getStorageSync('userInfomation');
				console.log(userInfo,"get信息")
				if(userInfo.token){
					uni.navigateTo({
					    url: "/pages/humanSociety/humanSociety",
					});
				}else{
					uni.navigateTo({
					    url: "/pages/humanSociety/InformationSystemLogin",
					});
				}

			},
			situation(){
				uni.navigateTo({
				    url: "/pages/humanSociety/dataSituation",
				});
			},
			dataMigration(){
				uni.navigateTo({
				    url: "/pages/humanSociety/dataMigration",
				});
			}
		}
	}
</script>

<style lang="scss" scoped>

	.all{
		.imgView{
			display: flex;
			justify-content: center;
			margin-top: 60px;
			.images{
				height: 238rpx;
				width: 234rpx;

			}
		}

	}
	.title{
		font-size: 40rpx;
		font-weight: bold;
		text-align: center;
		margin-top: 20px;
		margin-bottom: 20px;

	}
	.mainUl{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		padding: 0 20px;

		li{
			width: 48%;
			height: 152rpx;
			margin-top: 10px;
			border-radius: 10px;
			display: flex;
			justify-content: center;
			align-items: center;

			image{
				width: 44rpx;
				height: 48rpx;
			}
			text{
				font-size: 32rpx;
				margin-left: 10px;
			}
		}
		.ulLi1{
			background: linear-gradient(to right,#F5E6EB ,#F8C0CF);
		}
		.ulLi2{
			background: linear-gradient(to right,#DBECF5  ,#BDE9FF);
		}
		.ulLi3{
			background: linear-gradient(to right,#F4E7F7 ,#F3CAFE);
		}
		.ulLi4{
			background: linear-gradient(to right,#D8F3DC ,#BBE8BD);
		}	.aa2{
    background: #afb2bd;
		}
	}


</style>




































<!-- <template>
	<view class="all">
		<image class="img" src="https://recruit-oss.oss-cn-beijing.aliyuncs.com/recruit/img/v1/jy.png" mode=""></image>
		<view class="title">就业大数据平台</view>
		<view class="text1" @click="Workforce">劳动力分析</view>
		<view class="text2" @click="acquisition">数据采集</view>
		<view class="text3" @click="situation">数据更新情况</view>

		</view>
</template>

<script>
	export default{
		data(){
			return{

			}
		},
		onShow: function() {
		    wx.hideHomeButton();  //隐藏home/返回主页按钮
		  },
		methods:{
			Workforce(){
				console.log("劳动力分析");
				wx.reLaunch({
				    url: "/pages/humanSociety/workforceAnalytics",
				});

			},
			acquisition(){
				var userInfo = wx.getStorageSync('userInfomation');
				console.log(userInfo,"get信息")
				if(userInfo.token){
					uni.navigateTo({
					    url: "/pages/humanSociety/humanSociety",
					});
				}else{
					uni.navigateTo({
					    url: "/pages/humanSociety/InformationSystemLogin",
					});
				}

			},
			situation(){
				uni.navigateTo({
				    url: "/pages/humanSociety/dataSituation",
				});
			}
		}
	}
</script>

<style lang="scss" scoped>

	.all{
		// margin-top: 60px;
		padding-top: 100px;
		width: 100%;
		height: 100vh;
		// background-image: url('http://m.qpic.cn/psc?/V10IS6xM0I2DX0/ruAMsa53pVQWN7FLK88i5lmmdRpfpaEkyM1lIEsHjf9y6Jan1IDVYDVd2NuhunIuzV8bANDcR4t3qhiYheocwdcP8rigT23lxNH9HJ1F08I!/mnull&bo=cwLyAQAAAAABB6I!&rf=photolist&t=5');
	    background-image: url('http://m.qpic.cn/psc?/V10IS6xM0I2DX0/ruAMsa53pVQWN7FLK88i5kfd8TfbqAKB1pl5OOnzqCBYchThiDgvQx.OX5Yoh3Q2gfNpNMSPcaQNlpxezWIVyPg9d.nCX4.XCGgm*XJa07o!/mnull&bo=OAQjCQAAAAADBzQ!&rf=photolist&t=5');
	    background-repeat: no-repeat;
		background-size: cover;
	}
	.title{
		font-size: 20px;
		margin: 0 auto;
		color: white;
		text-align: center;
		line-height: 20px;
		margin: 0px 0 30px 0;
	}
	.text1{
		width: 50%;
		background: #46D09B;
		line-height: 40px;
		text-align: center;
		margin:0 0 30px 92px;
		font-size: 14px;
		color: white;
	}
	.text2{
		width: 50%;
		background: #5D93EB;
		margin:0 0 0 92px;
		text-align: center;
		line-height: 40px;
		font-size: 14px;
		color: white;
	}
	.text3{
		width: 50%;
		background: #AEB9FF;
		margin:30px 0 0 92px;
		text-align: center;
		line-height: 40px;
		font-size: 14px;
		color: white;
	}
	.img{
		width: 60px;
		height: 60px;
		margin: 0 0 0 42%;

	}


</style> -->
